package com.cmcc.volte.xdr.SigXDR;

import java.io.Serializable;

public class SigXDRHeader implements Serializable {

	private static final long serialVersionUID = -5196407036745630353L;

	private byte RAT;// RAT类型
	private byte Interface;// 接口类型
	private byte[] XDR_ID;// XDR ID信息,16字节
	private short size;// 原始信令或原始业务包头总条目数N
	private int lengthTotal;// 后续原始码流总长度，单位为Byte，包括本字段之后的信息块长度指示字段，不包括结束标志

	public byte getRAT() {
		return RAT;
	}

	public void setRAT(byte rAT) {
		RAT = rAT;
	}

	public byte getInterface() {
		return Interface;
	}

	public void setInterface(byte interface1) {
		Interface = interface1;
	}

	public byte[] getXDR_ID() {
		return XDR_ID;
	}

	public void setXDR_ID(byte[] xDR_ID) {
		XDR_ID = xDR_ID;
	}

	public short getSize() {
		return size;
	}

	public void setSize(short size) {
		this.size = size;
	}

	@Override
	public String toString() {
		StringBuilder s = new StringBuilder();
		s.append("RAT=").append(this.RAT);
		s.append("XDR_ID=").append(this.XDR_ID);
		s.append("Interface=").append(this.Interface);
		s.append("size=").append(this.size);
		s.append("lengthTotal=").append(this.lengthTotal);
		return s.toString();
	}

	public int getLengthTotal() {
		return lengthTotal;
	}

	public void setLengthTotal(int lengthTotal) {
		this.lengthTotal = lengthTotal;
	}
}